package com.ruyuan.user.server.repository.mapper;

import com.ruyuan.user.server.repository.bean.AuthorityDO;
import com.ruyuan.user.server.repository.bean.AuthorityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AuthorityMapper {
    long countByExample(AuthorityExample example);

    int deleteByExample(AuthorityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AuthorityDO record);

    int insertSelective(AuthorityDO record);

    List<AuthorityDO> selectByExampleWithBLOBs(AuthorityExample example);

    List<AuthorityDO> selectByExample(AuthorityExample example);

    AuthorityDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AuthorityDO record, @Param("example") AuthorityExample example);

    int updateByExampleWithBLOBs(@Param("record") AuthorityDO record, @Param("example") AuthorityExample example);

    int updateByExample(@Param("record") AuthorityDO record, @Param("example") AuthorityExample example);

    int updateByPrimaryKeySelective(AuthorityDO record);

    int updateByPrimaryKeyWithBLOBs(AuthorityDO record);

    int updateByPrimaryKey(AuthorityDO record);
}